package com.ruoyi.project.dj.service.impl;

import com.ruoyi.project.dj.domain.DjStandardElectronicRecord;
import com.ruoyi.project.dj.mapper.DjStandardElectronicRecordMapper;
import com.ruoyi.project.dj.service.IDjStandardElectronicRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 支部标准化 - 电子台账表
 */
@Service
public class DjStandardElectronicRecordServiceImpl implements IDjStandardElectronicRecordService {
    @Autowired
    private DjStandardElectronicRecordMapper djStandardElectronicRecordMapper;

    @Override
    public List<DjStandardElectronicRecord> selectDjStandardElectronicRecordList(DjStandardElectronicRecord djStandardElectronicRecord) {
        return djStandardElectronicRecordMapper.selectDjStandardElectronicRecordList(djStandardElectronicRecord);
    }

    @Override
    public DjStandardElectronicRecord selectDjStandardElectronicRecordById(Integer id) {
        return djStandardElectronicRecordMapper.selectDjStandardElectronicRecordById(id);
    }

    @Override
    public int insertDjStandardElectronicRecord(DjStandardElectronicRecord djStandardElectronicRecord) {
        return djStandardElectronicRecordMapper.insertDjStandardElectronicRecord(djStandardElectronicRecord);
    }

    @Override
    public int updateDjStandardElectronicRecord(DjStandardElectronicRecord djStandardElectronicRecord) {
        return djStandardElectronicRecordMapper.updateDjStandardElectronicRecord(djStandardElectronicRecord);
    }

    @Override
    public int deleteDjStandardElectronicRecordById(Integer id) {
        return djStandardElectronicRecordMapper.deleteDjStandardElectronicRecordById(id);
    }
}